/*
路由器模块
 */
import  Vue from 'vue'
import VueRouter from 'vue-router'

import About from '../views/About'
import Home from '../views/Home'
import Uploader from '../components/uploader/Uploader'

Vue.use(VueRouter)

export default new VueRouter({
  //n个路由
  routes:[
    {
      path:'/about',
      component:About
    },
    {
      path:'/home',
      component:Home
    },
    {
      path:'/upload',
      component:Uploader
    }
  ]
})
